package com.bwda.dsrs.systemservice.domain.form.org;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 组织表
 *
 * @author youzhen
 * @date 2019年4月28日
 */
@Data
@ApiModel(description = "组织用户表")
public class OrgUserTreeForm {

	@ApiModelProperty(value = "组织编码")
	private int id;

	@ApiModelProperty(value = "名称（自定义工作组,用户分级用）")
	private String name;

	@ApiModelProperty(value = "组织编码")
	private String orgCode;

	@ApiModelProperty(value = "组织名称")
	private String orgName;

	@ApiModelProperty(value = "上级ID")
	private Integer parentId;

	@ApiModelProperty(value = "用户")
	private int userId;

	@ApiModelProperty(value = "用户code")
	private String userCode;

	@ApiModelProperty(value = "用户名称")
	private String userName;

	@ApiModelProperty(value = "tree")
	private List<OrgUserTreeForm> children;
}